// MongoDB Playground
// Use Ctrl+Space inside a snippet or a string literal to trigger completions.

// The current database to use.
use("task_db");

// Find a document in a collection.
db.tasks.find({ status: "pending" });

db.task.insertOne({
  title: "Sample Task",
  description: "This is a sample task",
  status: "pending",
  created_at: new Date(),
  updated_at: new Date(),
});


db.task.find({ title: "New Task" });
